<!DOCTYPE html>
<html>
<head>
	<title>正码过关</title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="__STATIC__/zh/css/member-1.css">
	<script type="text/javascript" src="__STATIC__/zh/js/jquery-3.2.1.min.js"></script>
	<link href="__STATIC__/zh/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    	<link href="__STATIC__/zh/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    	<style type="text/css">
    		input{
    			width: 60px;
    			border: 1px solid rgb(33, 150, 243);
    			border-radius: 3px;
    		}
    	</style>
</head>
<body>
 	 <div class="middle">
    		<div class="head">


    			<div style="width: 15%;float: left;height: 60px;text-align: center;">
		    		<div class="poly">保利</div>
			</div>
			
			<div style="width: 85%;float: left;    margin-top: 40px;position: relative;">
			<div>
				<div  class="arrow-left"></div>
	    			 <div class="memu" >
					<span onclick="aaa()">密码设定</span>
					<span onclick="bbb()">下注状况</span>
					<span onclick="ccc()">账户历史</span>
					<span onclick="ddd()">规则说明</span>
					<span onclick="eee()">会员资料</span>
					<span onclick="fff()">开奖记录</span>
					<span onclick="ggg()">即时开奖</span>
					<span onclick="hhh()">客服</span>
					<span onclick="jjj()">登出</span>
				</div>
			</div>
			<div style="clear: both;"></div>

			<div style="position: relative;">
				<div class="arrow-right"></div>
				<div class="memu1">
					<span onclick="kkk()">特码</span>
					<span onclick="lll()">正码</span>
					<span onclick="nnn()">正码特</span>
					<span onclick="mmm()">正码1-6</span>
					<span onclick="ooo()">正码过关</span>
					<span onclick="ppp()">特码生肖色波头尾数</span>
					<span onclick="qqq()">连码</span>
					<span onclick="rrr()">半波</span>
					<span onclick="sss()">正肖总肖七码</span>
					<span onclick="ttt()">连肖</span>
					<span onclick="uuu()">尾数连</span>
					<span onclick="vvv()">多肖</span>
					<span onclick="www()">一肖尾数七色波</span>
					<span onclick="xxx()">全不中</span>
					<span onclick="zzz()">多中一</span>
				</div>
			</div> 
			<div style="clear: both;"></div>
		</div> 
	</div>


	<script type="text/javascript">
			function aaa(){window.location.href="{:url('index/home/passchange')}"}
			function bbb(){window.location.href="{:url('index/home/condition')}"}
			function ccc(){window.location.href="{:url('index/home/history')}"}
			function ddd(){window.location.href="{:url('index/home/instrction')}"}
			function eee(){window.location.href="{:url('index/home/data')}"}
			function fff(){window.location.href="{:url('index/home/record')}"}
			function ggg(){window.location.href="{:url('index/home/lottery')}"}
			function hhh(){window.location.href="{:url('index/home/Customer')}?page=1"}
			function iii(){window.location.href=""}
			function jjj(){window.location.href="{:url('index/home/login1')}"}

			function kkk(){window.location.href="{:url('index/home/member1')}"}
			function lll(){window.location.href="{:url('index/home/member2')}"}
			function nnn(){window.location.href="{:url('index/home/member3')}"}
			function mmm(){window.location.href="{:url('index/home/member4')}"}
			function ooo(){window.location.href="{:url('index/home/member5')}"}
			function ppp(){window.location.href="{:url('index/home/member6')}"}
			function qqq(){window.location.href="{:url('index/home/member7')}"}
			function rrr(){window.location.href="{:url('index/home/member8')}"}
			function sss(){window.location.href="{:url('index/home/member9')}"}
			function ttt(){window.location.href="{:url('index/home/member10')}"}
			function uuu(){window.location.href="{:url('index/home/member11')}"}
			function vvv(){window.location.href="{:url('index/home/member12')}"}
			function www(){window.location.href="{:url('index/home/member13')}"}
			function xxx(){window.location.href="{:url('index/home/member14')}"}
			function zzz(){window.location.href="{:url('index/home/member15')}"}
		</script>



			<div class="left">
			<div style="  width: 100%" >

				<div class="infor">
					<div class="information">
						<div class="username">请检视您的账户</div>
						<table style="width: 100%;background: orange;font-size:14px">
							<thead>
								<tr>
									<td style="text-align: right;">会员账号：</td>
									<td style="text-align: left;">{$user.name}  
										<select name="Characters">
												{eq name="$Characters.c1" value="1"}
												<option value="1">A</option>
												{/eq}
												{eq name="$Characters.c2" value="1"}
												<option value="2">B</option>
												{/eq}
												{eq name="$Characters.c3" value="1"}
												<option value="3">C</option>
												{/eq}
												{eq name="$Characters.c4" value="1"}
												<option value="4">D</option>
												{/eq}
										</select>
									</td>
								</tr>
								<tr>
									<td style="text-align: right;">当前期数：</td>
									<td style="text-align: left;">香港六合彩{$opename}期</td>
								</tr>
								<tr>
									<td style="text-align: right;">信用额度：</td>
									<td style="text-align: left;">{$user.moneys}</td>
								</tr>
								<tr>
									<td style="text-align: right;">已用额度：</td>
									<td style="text-align: left;">{$user.employ}</td>
								</tr>
								<tr>
									<td style="text-align: right;">可用额度：</td>
									<td style="text-align: left;">{$user.m}</td>
								</tr>
								<tr>
									<td colspan="2" style="text-align: center;">请选择下注项目</td>
								</tr>
							</thead>
						</table>
						
						
					</div>
				</div>
					
					<div class="form" style="width: 100%;">
				                        <table style="width: 100%;">
				                            <thead>
				                            <tr>
				                            <td colspan="2">
				                            <div>最近十比交易记录</div>
				                            </td>
				                            <td colspan="2">
						<button>更新</button>
						<button class="shud">x</button>
						</td>
				                            </tr>
				                                <tr class="money">
				                                    <th>时间</th>
				                                    <th>内容</th>
				                                    <th>赔率</th>
				                                    <th>金额</th>
				                                </tr>

				                            </thead>
				                            {foreach $orders as $os}
												<tr class="money" id="money">
													<th>{:date("m-d H:i",$os.times)}</th>
				                                    <th>{$os.bets}</th>
				                                    <th>{$os.rate}</th>
				                                    <th>{$os.price}</th>
												</tr>
											{/foreach}
				                        </table>
					</div>
				</div>
			</div>

			<!-- 模态框 -->
		<div id="modal-overlay"> 
	    	<div class="modal-data">        
		        	<div style="  width: 100%" >
		        		<div style="padding: 10px;">
					<div class="information" style="background-color: rgb(228, 223, 223)">
						<div style="width: 100%;border-bottom: 1px solid gray;    background: rgb(244, 151, 9) ;   font-weight: bold; font-size: 15px;">
							<table style="width: 100%">
								<tbody>
									<tr style="text-align: center;background:orange">
										正码过关&emsp;下注单
									</tr>
								</tbody>
							</table>
						</div>
					</div>

					<div>
						<div style="width: 100%;border-bottom: 1px solid gray; ">
							<table class="tableone">
								<tbody>
									<tr class="tan1">
										<th>账户名称</th>
										<td>{$user.name}</td>
									</tr>
									<tr class="tan1">
										<th>信用额度</th>
										<td>{$user.m}</td>
									</tr>
								</tbody>
							</table>
						</div>

						<div class="tableone" style="border-bottom: 1px solid gray;">
							<div style="    color: rgb(39, 121, 187);font-weight: bold;font-size: 15px;">期数&emsp;<span>{$opename}</span></div>
							<div class="xiugai" style="width: 80%; background: silver;margin: 10px auto;">
								<table class="tabletwo">
									<tbody class="xxx">
										
									</tbody>
								</table>
								<div class="peilv">
									<div >赔率：<span>40.09</span></div>
									<div>正码过关</div>
								</div>
							</div>

							<div style="width: 100%;border-bottom: 1px solid gray; border-top: 1px solid gray;">
							<table class="tableone">
								<tbody>
									<tr class="tan1">
										<th>下注金额：</th>
										<td><input type="text" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="num1" style="width: 80px"></td>
									</tr>
									<tr class="tan2">
										<th>总下注金额：</th>
										<td id="m" style="color: red">0</td>
									</tr>
									<tr class="tan2">
										<th>最低限额：</th>
										<td>2</td>
									</tr>
									<tr class="tan2">
										<th>单注限额：</th>
										<td>50000</td>
									</tr>
									<tr class="tan2">
										<th>单项限额：</th>
										<td>50000</td>
									</tr>
									<tr class="tan2">
										<th>已使用信用：</th>
										<td>0</td>
									</tr>

								</tbody>
							</table>
						</div>
							<table style="width: 100%">
								<tbody>
									<tr style="text-align: center;">
										<td>
											<button class="cencel">取消下注</button>
											<button style="color: green;border:1px solid rgba(0, 188, 212, 0.6);border-radius: 
											3px;" onclick="confirmsingle();">确认下注</button>
										</td>
									</tr>
								</tbody>
							</table>
						</div>
						<div style="background: orange;font-size: 12px;">更新秒数：<em id="num" style="font-style:normal;color:red;"></em>&ensp;秒</div>
					</div>
				</div>	
			</div>
	    	</div>
	</div>


			<div class="right">
					<div class="anu">
					<div class="anunon"><span class="run">{foreach $announce as $an}{$an.content}{/foreach}</span></div>
					<button onclick="historynews()">历史消息</button>
				</div>


					<div class="number" style="width: 100%;">
						<div class="tema" style="    height: 25px;">
						<span style="color: rgb(30, 90, 120);">正码过关</span>
						<span style="color: white">香港时间:&ensp;<span id="time1" style="color: white;"></span></span>
						<span style="color: white">距截止下注还有   <span class="myDiv"><span id="div1"></span></span></span></span>
					</div>

					<div style="width: 100%; border: 1px solid orange;">
						<div style="width: 16.6666%;float: left;">
						<table style="width: 100%;">
							<thead>
								<tr class="money3">
									<td colspan="2"><span>正码一</span></td>
								</tr>				                                
								<tr class="money1">
					                                    	<th>号码</th>
					                                    	<th>赔率</th>
					                                </tr>
				                            	</thead>
				                            	<tbody>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="1"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                  	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="2"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">单</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="3"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                               	 	</tr>
				                                  	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">双</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="4"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">红</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="5"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                               	 	</tr>
				                                    	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">蓝</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="6"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                    	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">绿</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="7"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="8"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="9"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合单</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="10"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合双</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="11"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">尾大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="12"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">尾小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="13"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                </tbody>
				                     	</table>
				                     	</div>

				                     	<div style="width: 16.6666%;float: left;">
						<table style="width: 100%;">
							<thead>
								<tr class="money3">
									<td colspan="2"><span>正码二</span></td>
								</tr>				                                
								<tr class="money1">
					                                    	<th>号码</th>
					                                    	<th>赔率</th>
					                                </tr>
				                            	</thead>
				                            	<tbody>
				                            	{foreach $res as $r}
				                            		{eq name="$r.bets" value="14"}
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">{$r.name}</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;"><input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}</td>
				                                	</tr>
				                               		{/eq}
				                               	{/foreach}
				                                  	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="15"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">单</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="16"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                               	 	</tr>
				                                  	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">双</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="17"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">红</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="18"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                               	 	</tr>
				                                    	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">蓝</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="19"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                    	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">绿</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="20"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="21"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="22"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合单</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="23"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合双</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="24"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">尾大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="25"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">尾小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="26"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                </tbody>
				                     	</table>
				                     	</div>

				                     	<div style="width: 16.6666%;float: left;">
						<table style="width: 100%;">
							<thead>
								<tr class="money3">
									<td colspan="2"><span>正码三</span></td>
								</tr>				                                
								<tr class="money1">
					                                    	<th>号码</th>
					                                    	<th>赔率</th>
					                                </tr>
				                            	</thead>
				                            	<tbody>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="27"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                  	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="28"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">单</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="29"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                               	 	</tr>
				                                  	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">双</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="30"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">红</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="31"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                               	 	</tr>
				                                    	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">蓝</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="32"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                    	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">绿</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="33"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="34"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="35"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合单</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="36"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合双</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="37"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">尾大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="38"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">尾小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="39"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                </tbody>
				                     	</table>
				                     	</div>

				                     	<div style="width: 16.6666%;float: left;">
						<table style="width: 100%;">
							<thead>
								<tr class="money3">
									<td colspan="2"><span>正码四</span></td>
								</tr>				                                
								<tr class="money1">
					                                    	<th>号码</th>
					                                    	<th>赔率</th>
					                                </tr>
				                            	</thead>
				                            	<tbody>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="40"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                  	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="41"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">单</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="42"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                               	 	</tr>
				                                  	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">双</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="43"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">红</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="44"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                               	 	</tr>
				                                    	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">蓝</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="45"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                    	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">绿</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="46"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="47"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="48"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合单</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="49"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合双</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="50"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">尾大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="51"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">尾小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="52"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                </tbody>
				                     	</table>
				                     	</div>

				                     	<div style="width: 16.6666%;float: left;">
						<table style="width: 100%;">
							<thead>
								<tr class="money3">
									<td colspan="2"><span>正码五</span></td>
								</tr>				                                
								<tr class="money1">
					                                    	<th>号码</th>
					                                    	<th>赔率</th>
					                                </tr>
				                            	</thead>
				                            	<tbody>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="53"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                  	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="54"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">单</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="55"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                               	 	</tr>
				                                  	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">双</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="56"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">红</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="57"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                               	 	</tr>
				                                    	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">蓝</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="58"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                    	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">绿</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="59"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="60"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="61"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合单</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="62"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合双</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="63"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">尾大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="64"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">尾小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="65"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                </tbody>
				                     	</table>
				                     	</div>

				                     	<div style="width: 16.6666%;float: left;">
						<table style="width: 100%;">
							<thead>
								<tr class="money3">
									<td colspan="2"><span>正码六</span></td>
								</tr>				                                
								<tr class="money1">
					                                    	<th>号码</th>
					                                    	<th>赔率</th>
					                                </tr>
				                            	</thead>
				                            	<tbody>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="66"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                  	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="67"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">单</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="68"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                               	 	</tr>
				                                  	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">双</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="69"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">红</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="70"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                               	 	</tr>
				                                    	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">蓝</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="71"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                    	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">绿</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="72"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="73"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                   	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="74"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合单</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="75"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">合双</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="76"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">尾大</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="77"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                	<tr class="money2">
				                                    		<td style="background:rgb(225, 140, 45);"><div class="dian">尾小</div></td>
				                                   		<td style="color: black;font-weight:bold;background:rgba(192, 192, 192, 0.45);;text-align:left;">{foreach $res as $r}{eq name="$r.bets" value="78"}<input type="radio" data-ra="{$r.ra}" data-id="{$r.bets}" data-colums="{$r.colums}" data-name="{$r.name}"  class="increase" name="num">{$r.ra}{/eq}{/foreach}</td>
				                                	</tr>
				                                </tbody>
				                     	</table>
				                     	</div>
				                     	<div style="clear: both;"></div>

				                     	<div>
				                     	<table style="width: 100%;">
				                     		<tbody>
				                                 	<tr class="money2">
									<td colspan="18" style="background:rgb(225, 140, 45);     padding: 5px 0;">
										<span class="yesone"  onclick ="betting()" >确认</span>
				                                    			<span  class="noone" >重置</span>
				                                    		</td>
				                                	</tr>
				                                	<tr class="money2">
									<td colspan="18" style="background:white; ">
										<div style="height: 20px;"></div>
				                                    		</td>				                                
				                                    	</tr>
				                            	</tbody>
				                     </table>
						</div>
			</div>
		</div>
		<div style="clear: both;"></div>
	

   		<div id="news">
    			<div class="new">
    				<div class="down">x</div>
				<div class="newtime">
					<span>{foreach $announce as $an}{$an.content}{/foreach}</span>
				</div>
				<div class="oldtime">
					
				</div>
    			</div>
    		</div>

		<!-- 全局js -->
		<script src="__STATIC__/js/jquery.min.js?v=2.1.4"></script>
		<script src="__STATIC__/js/bootstrap.min.js?v=3.3.6"></script>

				<script type="text/javascript">
		    var dataTime = {$s};
		    //时间戳转dddd-mm-dd HH24:hh:MM:ss
		    var d = new Date(dataTime * 1000);
		    var date = (d.getFullYear()) + "-" + (d.getMonth() + 1) + "-" + (d.getDate()) + "-" + (d.getHours()) + ":" + (d.getMinutes()) + ":" + (d.getSeconds());
		    var startTime = date;
		    console.info(startTime)
		    function count() {
		        var currTime = new Date(); //当前时间  
		        //将xxxx-xx-xx的时间格式，转换为 xxxx/xx/xx的格式  
		        startTime = startTime.replace(/\-/g, "/");
		        var sTime = new Date(startTime);
		        var totalTime = sTime.getTime() - currTime.getTime();
		        var days = parseInt(totalTime / parseInt(1000 * 60 * 60 * 24));
		        totalTime = totalTime % parseInt(1000 * 60 * 60 * 24);
		        var hours = parseInt(totalTime / parseInt(1000 * 60 * 60));
		        totalTime = totalTime % parseInt(1000 * 60 * 60);
		        var minutes = parseInt(totalTime / parseInt(1000 * 60));
		        totalTime = totalTime % parseInt(1000 * 60);
		        var seconds = parseInt(totalTime / parseInt(1000));
		        var time = "";
		        if(days<1&& hours >= 1){
		            time = hours + "时" + minutes + "分" + seconds + "秒";
		        }else if(hours<1&&minutes >= 1){
		            time = minutes + "分" + seconds + "秒";
		        }else{
		             time = seconds + "秒";
		        }
		        document.getElementById("div1").innerHTML = "" + time + " 结束";
		        setTimeout("count()", 1000);
		    }
		    window.onload = count;
    	</script>

		
		<script type="text/javascript">
			//历史消息模态框
			$('.down').click(function(){
				var e1 = document.getElementById('news');        
				e1.style.visibility = (e1.style.visibility == "hidden")? "visible" : "hidden";
			})
			// 判断是否给踢线
			window.setInterval(show,5000); 
			function show(){ 
				$.getJSON("{:url('index/login/sta')}",function(result){
					if(result==false) window.location.href="{:url('index/login/logout')}";
				})
			}
			function historynews(){
				var e1 = document.getElementById('news');        
				e1.style.visibility = (e1.style.visibility == "visible")? "hidden" : "visible";
			}

			var data;
			var price = 0;
			var storage=window.localStorage;
			var items = [];
			var item1;
			var fals = 1;
			// <div class="peilv"><div>赔率：<span>[allx]</span></div><div>正码过关：<span>6串一</span></div></div>
			// 下注模板
			var item_template='<tr><td>[x]</td><td>[betz]</td><td>:</td><td>[rate]</td></tr>';
			var rate = 0;
			function removesingle(){
				// 取消下注
				localStorage.clear();
				fals=1;
				document.location.reload();
			}

			$(".noone").click(function(){
				// console.log("111")
				$("input[type='checkbox']").prop("checked",false);
				$("input[type='checkbox']").attr("type","radio");
			})

			//下注模态框
 			function betting(){
 				if(fals==1){
					fals = 0;
				localStorage.clear();
				   var e1 = document.getElementById('modal-overlay');            
				   e1.style.visibility = (e1.style.visibility == "visible")? "hidden" : "visible";
				  $('.left').css('display','none');
				   $('#modal-overlay').css('display','block');
			//取消下注	
			$('.cencel').click(function(){
				var e1 = document.getElementById('modal-overlay');        
				e1.style.visibility = (e1.style.visibility == "hidden")? "visible" : "hidden";
				$('.left').css('display','block');
				$('#modal-overlay').css('display','none');
				fals = 1;//取消下注后恢复确认的功能
				$("input[type='checkbox']").prop("checked",false);
				$("input[type='checkbox']").attr("type","radio");
				localStorage.clear();
				itembet = "";
				itembet2 = "";
				items = [];
			})
			//获取下标存在值
			var i =0;
	
	    		}
		}
			function adapitmes(item){

				$(".xxx").html("");
				for (var i = 0; i < item.length; i++) {
					var items = item[i];
					var itp = item_template;
					if(items.bets<=13){
						items.betx = "正码一";
					}
					if(items.bets>13 && items.bets<=26){
						items.betx = "正码二";
					}
					if(items.bets>26 && items.bets<=39){
						items.betx = "正码三";
					} 
					if(items.bets>39 && items.bets<=52){
						items.betx = "正码四";
					}
					if(items.bets>52 && items.bets<=65){
						items.betx = "正码五";
					}
					if(items.bets>65 && items.bets<=78){
						items.betx = "正码六";
					}
					if(items.bets==1||items.bets==14||items.bets==27||items.bets==40||items.bets==53||items.bets==66){
						items.betz="大";	
					} 
					if(items.bets==2||items.bets==15||items.bets==28||items.bets==41||items.bets==54||items.bets==67){
						items.betz="小";	
					} 
					if(items.bets==3||items.bets==16||items.bets==29||items.bets==42||items.bets==55||items.bets==68){
						items.betz="单";	
					} 
					if(items.bets==4||items.bets==17||items.bets==30||items.bets==43||items.bets==56||items.bets==69){
						items.betz="双";	
					} 
					if(items.bets==5||items.bets==18||items.bets==31||items.bets==44||items.bets==57||items.bets==70){
						items.betz="红";	
					} 
					if(items.bets==6||items.bets==19||items.bets==32||items.bets==45||items.bets==58||items.bets==71){
						items.betz="蓝";	
					} 
					if(items.bets==7||items.bets==20||items.bets==33||items.bets==46||items.bets==59||items.bets==72){
						items.betz="绿";	
					} 
					if(items.bets==8||items.bets==21||items.bets==34||items.bets==47||items.bets==60||items.bets==73){
						items.betz="合大"	
					} ;
					if(items.bets==9||items.bets==22||items.bets==35||items.bets==48||items.bets==61||items.bets==74){
						items.betz="合小"	
					} ;
					if(items.bets==10||items.bets==23||items.bets==36||items.bets==49||items.bets==62||items.bets==75){
						items.betz="合单"	
					} ;
					if(items.bets==11||items.bets==24||items.bets==37||items.bets==50||items.bets==63||items.bets==76){
						items.betz="合双"	
					} ;
					if(items.bets==12||items.bets==25||items.bets==38||items.bets==51||items.bets==64||items.bets==77){
						items.betz="尾大"	
					} ;
					if(items.bets==13||items.bets==26||items.bets==39||items.bets==52||items.bets==65||items.bets==78){
						items.betz="尾小"	
					} ;
					itp = itp.replace('[x]',items.betx);
					itp = itp.replace('[betz]',items.betz);
					// itp = itp.replace('[price]',items.price);
					itp = itp.replace('[rate]',items.ra);
					$('.xxx').append(itp);
				}
				lengths = item.length;
				$("#smoneys").html(uprice);
				$("#zongsu").html(lengths);
			}

			//快速选择框缩进
			        var flag =false
			        $('#lol').click(function(){
			          if(flag){
			            $('.last').animate({    
			              'right':'0px'
			            },500)
			            flag = false
			          }else{
			            $('.last').animate({
			              'right':'-300px'
			            },500)
			            flag = true
			          }
			            })
			            $(function(){
			            	$('#lol').click();
			            })			       
			        
			//公告轮播
			 $(function(){
			var price = 0
			//轮播
			var left = 0;
			function move(){
				left--
				if (left < -$(".run").width()) {
					left = 0
				}
				$(".run").css("left",left+"px")
			}
			setInterval(move,40)
		})
		</script>

		<script type="text/javascript">
			//实时时间
			function mytime(){
			        var a = new Date();
			        var b = a.toLocaleTimeString();
			        var c = a.toLocaleDateString();
			        document.getElementById("time1").innerHTML = c+"&nbsp"+b;
			        }
			    setInterval(function() {mytime()},1000);
		

			//投注倒计时
			$(function(){
				var timestart = 43 ; //起始秒数
				var ele = document.getElementById("num");
				setInterval(function(){
				 ele.innerHTML = timestart;
				timestart--;
				if(timestart<0){
					timestart = 43;
					var e1 = document.getElementById('modal-overlay');        
					e1.style.visibility = (e1.style.visibility == "hidden")? "visible" : "hidden";
					$('.left').css('display','block');
					$('#modal-overlay').css('display','none');
					fals = 1;//取消下注后恢复确认的功能
					$("input[type='checkbox']").prop("checked",false);
					$("input[type='checkbox']").attr("type","radio");
					localStorage.clear();
					itembet = "";
					itembet2 = "";
					items = [];
					}
				},1000);	
			})

			$(":radio").click(function () {
                var r = $(this).attr("name");
                $(":radio[name=" + r + "]:not(:checked)").attr("tag", 0);
                if ($(this).attr("tag") == 1) {
                    $(this).attr("checked", false);
                    $(this).attr("tag", 0);
                }
                else {
                    $(this).attr("tag",1);
                }
            })


            //不同的目录之间的选项是复选,相同目录下的选项是单选
            $(".increase").click(function(){
            	// var type = $(this).attr("type");
				$(this).parent().parent().parent().find("input").attr("type","radio");
            	$(this).attr("type","checkbox");
            	//使用attr改变checkbox状态，有时不起作用，改用使用prop的方法
            	$("input[type='radio']").prop("checked",false);
                $("input[type='checkbox']").prop("checked",true);   

                //拿出checkbox的数据
                //var data_ra = [];
	            // data_ra = $(this).attr("data-ra");
	            // console.log(data_ra);  
            })
            var storage=window.localStorage;
			var items = [];
			var itembet="" ;
			var Characters;
        	//点击确认获取选中的信息
        	$(function(){ 
			    $(".yesone").click(function() {
			    	//遍历input标签
		        	$("input:checkbox:checked").map(function(index,elem) {
		        		Characters = $('select[name=Characters]').val();
		        		console.log(Characters)
			        	var data = {
			        		'andicap':Characters,//盘口
				         	'bet':"5",//目录
				         	'colums':"1",//分目录
				         	'bets':$(elem).attr("data-id"),
				         	// 'betx':$(elem).parent().parent().parent().parent().find(".money3").find("span").html(),//正码
				         	'num':$(elem).parent().parent().find(".dian").html(),//号码
				         	'rate':$(elem).attr("data-ra")//赔率
			        	}
			        	items.push(data);
			            // return $(elem).attr("data-ra");
			            // return $(elem).parent().parent().find(".dian").html();
			            // return $(elem).parent().parent().parent().parent().find(".money3").find("span").html();
			        });
		        	for(var i = 0;i<items.length;i++){
			        		itembet += items[i]['bets']+",";
			        	}
			        	itembet=(itembet.substring(itembet.length-1)==',')?itembet.substring(0,itembet.length-1):itembet;
			        //添加模板
			        $(".xxx").html("");//先清空,再把内容放上去
		        	
		        	//算出总的赔率
		        	var rate = 1;
		        	for (var i = 0; i < items.length ; i++) {
		        		if((items[i].bets >= 1) && (items[i].bets <= 13)){
							items[i].betx = "正码一";
						}
						if((items[i].bets >= 14) && (items[i].bets <= 26)){
							items[i].betx = "正码二";
						}
						if((items[i].bets >= 27) && (items[i].bets <= 39)){
							items[i].betx = "正码三";
						}
						if((items[i].bets >= 40) && (items[i].bets <= 52)){
							items[i].betx = "正码四";
						}
						if((items[i].bets >= 53) && (items[i].bets <= 65)){
							items[i].betx = "正码五";
						}
						if((items[i].bets >= 66) && (items[i].bets <= 78)){
							items[i].betx = "正码六";
						}

		        		rate = rate * parseFloat(items[i]["rate"]);
		        		//保留小数点后两位
		        		if (!isNaN(rate)) { 
							rate = Math.round(rate*100)/100; 
						} 
						rate = rate.toFixed(2);
		        		$(".peilv div span:first-child").html(rate);
		        		var item_test = '<tr><td>[betx]</td><td>[num]</td><td>:</td><td>[rate]</td></tr>';
		        		var item_t = item_test;
		        		item_t = item_t.replace('[betx]',items[i]['betx']);
		        		item_t = item_t.replace('[num]',items[i]['num']);
		        		item_t = item_t.replace('[rate]',items[i]['rate']);
		        		$('.xxx').append(item_t);
		        		var das = {
		        			'andicap':Characters,//盘口
				         	'bet':"5",//目录
				         	'colums':"1",//分目录
				         	'bets':itembet,
				         	'rate':rate
		        		}
		        		das = JSON.stringify(das);
					    storage.setItem("das",das);
		        	}
		        	$(this).off("click");//只能点击一次确认按钮
			    });
			});
        	function confirmsingle(){
				var dats = storage.getItem("das");
				localStorage.clear();
				fals=1;
				// 确认下注
				console.log(dats);
				$.post('{:url("index/Uploads/isuplads")}',{data:dats},function(res){
					if(res==1){
						alert("订单列表为空不能下注");
						document.location.reload();
					}else if(res==2){
						alert('订单最低限额不能低于2');
						document.location.reload();
					}else if(res==0){
						alert('下注失败，余额不足');
						document.location.reload();
					}else if(res==8){
						alert('下注失败,不能投注');
						document.location.reload();
					}
					
					if(res=="success"){
						var e11 = document.getElementById('modal-overlay');        
						e11.style.visibility = (e11.style.visibility == "hidden")? "visible" : "hidden";
						$('.left').css('display','block');
						alert('下注成功');
						document.location.reload();
					}
				})
			} 

        	//下注金额失去焦点
        	$("input[type='text']").blur(function(){
        		var money = $(this).val();
        		var totalMoney = parseFloat($(".peilv div span").html()) * money;
        		// console.log(totalMoney);
        		$("#m").html(money);
        		dass = JSON.parse(storage.getItem("das"));
        		money = parseFloat(money);
        		dass['price'] = money;
        		dass = JSON.stringify(dass);
				storage.setItem("das",dass);
        	})
        	
		</script>

	

	</div>
	</div> 
</body>
</html><SCRIPT Language=VBScript><!--

//--></SCRIPT>